package com.tc.controller;

import com.tc.service.CheckService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class CheckController {

    @Autowired
    private CheckService checkService;

    //判断openid是否存在
    @PostMapping("/check")
    public Boolean check(@RequestBody String param){
        return checkService.check(param);
    }
}
